Saving Captured Data to a New File

If the user wants to save captured data, the application should save the contents of the capture file to another file by using the WM_CAP_FILE_SAVEASE4RDVZ message (or the capFileSaveAsH0Z_EV macro). This message does not change the name or contents of the capture file. Your application must specify a name for the new file because the capture file retains its original filename.

Typically, a capture file is preallocated for the largest capture segment anticipated, and only a portion of it might be used to capture data. This message copies only the portion of the capture file containing the capture data.